package com.qys.livesMall.anchor.model.vo.lives.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author yxh
 */
@Data
@Schema(name = "UserGradeIntegralPageVO", description = "用户消费等级分页返回实体")
public class UserGradeIntegralPageVO {

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "用户UID")
    private String userRandomId;

    @Schema(description = "等级名称")
    private String gradeName;

    @Schema(description = "联系方式")
    private String phone;

    @Schema(description = "更新人")
    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "观看权限（1：有，0：无）")
    private Integer viewingPermission;

}
